package models;

import java.sql.Timestamp;

public class Tweet {

	public Tweet(int id, String user, String content, Timestamp timestamp, boolean allowComments) {
		this.content = content;
		this.id = id;
		this.user = user;
		this.timestamp = timestamp;
		this.allowComments = allowComments;
	}

	String content;
	int id;
	String user;
	Timestamp timestamp;
	boolean allowComments;

	public boolean isAllowComments() {
		return allowComments;
	}

	public void setAllowComments(boolean allowComments) {
		this.allowComments = allowComments;
	}

	public Timestamp getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(Timestamp timestamp) {
		this.timestamp = timestamp;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

}
